libxenlight: separate logically list_vm and list_domain
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 17 Jan 2010 18:05:03 +0000 (18:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 17 Jan 2010 18:05:03 +0000 (18:05 +0000)
commit24cdde59ca1ca02ae0fe209a447d6810e2b47849
tree54e468f50e1cfdfd67c14850fb2c2d4084e3d6c2
parent590ab745d2dcdbd3d51305c7b74e0dae646d6a2e
libxenlight: separate logically list_vm and list_domain

previously list_domain was something between listing VM and domains.
provide 2 separates API calls to list domains and list vms.  the list
vms API filters utility domains like stubdomains, and domain 0

change is_stubdom to properly check the integer and also return a
boolean value.

Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_utils.c
tools/libxl/libxl_utils.h
tools/libxl/xl.c